/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.testis.gui.mvc.model.testdesign;

import org.testis.gui.mvc.controller.testdesign.LabelFilterController;
import org.testis.gui.mvc.model.AbstractModel;

/**
 *
 * @author selcuk
 */
public class LabelFilterModel extends AbstractModel {

    private String m_lastError;

    /**
     * @return the m_lastError
     */
    public String getLastError() {
        return m_lastError;
    }

    /**
     * @param m_lastError the m_lastError to set
     */
    public void setLastError(String value) {
        if (value == null) {
            value = new String("");
        }

        String oldValue = m_lastError;
        m_lastError = value;
        firePropertyChange(LabelFilterController.ERROR_PROPERTY,
                oldValue,
                m_lastError);
    }
}
